/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.entity;

import org.hibernate.validator.constraints.Length;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * kj_job_typeEntity
 * @author hzy
 * @version 2021-08-04
 */
@Table(name="kj_job_type", alias="a", columns={
		@Column(name="id", attrName="id", label="id", isPK=true),
		@Column(name="type_name", attrName="typeName", label="岗位类别名", queryType=QueryType.LIKE),
		@Column(name="description", attrName="description", label="类别介绍", isQuery=false),
		@Column(name="create_by", attrName="createBy", label="create_by", isUpdate=false, isQuery=false),
		@Column(name="create_date", attrName="createDate", label="create_date", isUpdate=false, isQuery=false),
		@Column(name="update_by", attrName="updateBy", label="update_by", isQuery=false),
		@Column(name="update_date", attrName="updateDate", label="update_date", isQuery=false),
		@Column(name="status", attrName="status", label="status", isUpdate=false),
	}, orderBy="a.update_date DESC"
)
public class KjJobType extends DataEntity<KjJobType> {
	
	private static final long serialVersionUID = 1L;
	private String typeName;		// 岗位类别名
	private String description;		// 类别介绍
	
	public KjJobType() {
		this(null);
	}

	public KjJobType(String id){
		super(id);
	}
	
	@Length(min=0, max=255, message="岗位类别名长度不能超过 255 个字符")
	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	
	@Length(min=0, max=9999, message="类别介绍长度不能超过 9999 个字符")
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
}